package com.example.studentalarm.bean;

import android.util.SparseArray;

import java.util.HashMap;
/**
 *
 * <p/>
 * EventBus事件处理
 */
public class EventBusData {
    private String msg;//回调数据
    private Object object;
    private int what;//标记
    private String filter;
    private HashMap<String, String> hashMap;


    private SparseArray<String> sparseArray;

    public EventBusData() {

    }

    public EventBusData(int what) {
        this.what = what;
    }

    public EventBusData(int what, String msg) {
        this.what = what;
        this.msg = msg;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getFilter() {
        return filter;
    }

    public void setFilter(String filter) {
        this.filter = filter;
    }

    public SparseArray<String> getSparseArray() {
        return sparseArray;
    }

    public void setSparseArray(SparseArray<String> sparseArray) {
        this.sparseArray = sparseArray;
    }

    public int getWhat() {
        return what;
    }

    public void setWhat(int what) {
        this.what = what;
    }

    public HashMap<String, String> getHashMap() {
        return hashMap;
    }

    public void setHashMap(HashMap<String, String> hashMap) {
        this.hashMap = hashMap;
    }

}
